package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg=new Student("张光",26,"廊坊","jsd2311","002");
        zg.sayHi();
        Teacher ll=new Teacher("李林",32,"北京",6000);
        ll.sayHi();
        Doctor zl =new Doctor("赵浪",45,"山东","主治医师");
        zl.sayHi();
    }
}
